using System;
namespace Coding4Fun.Phone.Controls.Toolkit
{
	public class SecondTimeSpanDataSource : TimeSpanDataSource
	{
		public SecondTimeSpanDataSource() : base(59, 1)
		{
		}
		public SecondTimeSpanDataSource(int int_0, int step) : base(int_0, step)
		{
		}
		protected override TimeSpan? GetRelativeTo(TimeSpan relativeDate, int delta)
		{
			return new TimeSpan?(new TimeSpan(relativeDate.get_Hours(), relativeDate.get_Minutes(), base.ComputeRelativeTo(relativeDate.get_Seconds(), delta)));
		}
	}
}
